//
// Created by Alex on 2021/12/1.
//

#ifndef GEOMAP_GEOPOINT_H
#define GEOMAP_GEOPOINT_H
#include "GeoObject.h"
#include "GeoStyle.h"
#include "LonLat.h"

class GeoPoint :public GeoObject{
public:
    GeoPoint();
    GeoPoint(LonLat);
    void addPoint(LonLat) override;
    void addProperties(QString,QVariant) override;
    QVariant getPropertiesValue(QString key) override;
    void setStyle(GeoStyle*) override;
    void getScale() override;
    LonLat getData();
    double getR();
    double getG();
    double getB();
private:
    LonLat pt;
    GeoStyle *pointStyle;
    QMap<QString,QVariant> properties;

};


#endif //GEOMAP_GEOPOINT_H
